package com.ouc.yyi.springbootwebapp.yaml.bo;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Data
@PropertySource(value = "classpath:branch.properties")
@Component
public class BranchInfoProperties {

    @Value("${branchId}")
    private String branchId;

    @Value("${branchName}")
    private String branchName;

}
